import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getter.js'
import actions from './action.js'
import mutations from './mutation.js'

Vue.use(Vuex);
export const store =new Vuex.Store({
	state:{
		registors:[],
        users:[
          {id:1,name:'Max',registered:false},
          {id:2,name:'Anan',registered:false},
          {id:3,name:'Chris',registered:false},
          {id:4,name:'Jack',registered:false}

        ]
	},
	getters,
	mutations,
	actions

});